package com.yf.course.modules.course.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* <p>
* 课件信息数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2020-12-17 11:28
*/
@Data
@ApiModel(value="课件信息", description="课件信息")
public class CourseFileDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private String id;

    @Dict(dicCode = "course_file_catalog")
    @ApiModelProperty(value = "课件类型ID", required=true)
    private String catId;
    private String catId_dictText;

    @ApiModelProperty(value = "课件名", required=true)
    private String title;

    @ApiModelProperty(value = "文件地址", required=true)
    private String fileUrl;

    @Dict(dicCode = "course_file_type")
    @ApiModelProperty(value = "文件类型", required=true)
    private String fileType;
    private String fileType_dictText;

    @ApiModelProperty(value = "预览地址", required=true)
    private String viewUrl;

    @ApiModelProperty(value = "文件大小")
    private String fileSize;

    @ApiModelProperty(value = "视频时长", required=true)
    private Integer duration;

    @ApiModelProperty(value = "部门编码")
    private String deptCode;

    @ApiModelProperty(value = "创建时间", required=true)
    private Date createTime;

    @ApiModelProperty(value = "更新时间", required=true)
    private Date updateTime;

    @Dict(dictTable = "sys_user", dicText = "real_name", dicCode = "id")
    @ApiModelProperty(value = "创建人", required=true)
    private String createBy;
    private String createBy_dictText;

    @ApiModelProperty(value = "修改人", required=true)
    private String updateBy;

    @ApiModelProperty(value = "数据标识", required=true)
    private Integer dataFlag;

    @ApiModelProperty(value = "文件完成状态",required = true)
    private String fileStatus;

}
